package org.springblade.tms.module.gps.controller;

import io.swagger.annotations.Api;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.gps.controller
 * @className: GPSController
 * @author: yr
 * @description: gps对外接口
 * @date: 2022/5/6 10:45
 */
@RestController
@RequestMapping("gps")
@Api(value = "gps", tags = "gps")
@Validated
public class GPSController {
//	@Resource
//	private GPSService gpsService;
//	/**
//	 * @param gpsFenceVO:
//	 * @return R<Boolean>
//	 * @author yr
//	 * @description gps进出电子围栏接口
//	 * @date 2022/5/6 14:10
//	 */
//	@ApiLog("gps进出电子围栏")
//	@ApiOperationSupport(order = 1)
//	@ApiOperation(value = "gps进出电子围栏", notes = "传入gpsFenceVO")
//	@PostMapping("/inAndOutOfTheElectronicFence")
//	@PreAuth(AuthConstant.AUTH_GPS)
//	public R<Boolean> inAndOutOfTheElectronicFence(GPSFenceVO gpsFenceVO) {
//		return gpsService.inAndOutOfTheElectronicFence(gpsFenceVO);
//	}
//
//	@ApiLog("gps预警信息推送")
//	@ApiOperationSupport(order = 1)
//	@ApiOperation(value = "gps预警信息推送", notes = "传入alarm")
//	@PostMapping("/earlyWarningInformationPush")
//	@PreAuth(AuthConstant.AUTH_GPS)
//	public R<Boolean> earlyWarningInformationPush(GPSAlarmVO alarm) {
//		return gpsService.earlyWarningInformationPush(alarm);
//	}
}
